package com.manage.service;

import com.manage.po.Borrow;
import com.manage.util.PagerModel;

public interface IBorrowService {

	public Borrow getBorrowById(Integer borrowid);
	public void merge(Borrow borrow);
	public PagerModel getBorrowById(Integer borrowid,int pageno,int pagesize);
	public void save(Borrow borrow);
	public void update(Borrow borrow);
	public void delete(Integer borrowid);
	public PagerModel search(String borrowid,String deviceid,String borunittype,String returned,String searchContact, int pageno,int pagesize);
	
	public Borrow TestHql(String borrowid);
	public Borrow TestHql(String...param);
	
	//批量删除
	public void batchDelete(Integer[] ids);

	/*
	public OrganInfo TestHql(String orgid);
	
	public OrganInfo TestHql(String...param);
	*/
	
	

}
